<?php
/**
 * Created by PhpStorm.
 * User: zhaobl
 * Date: 2017\11\9 0009
 * Time: 14:10
 */

namespace System;

class Loader
{
    static $load_class_arr = [];

    static function load_class($name,$class)
    {
        if(!$name || !is_object($class)){
            return;
        }
        $a = explode('\\',$name);
        self::$load_class_arr[$a[count($a)-1]] = $class;
    }

}